package com.itheima.health.service;

import com.itheima.health.entity.PageResult;
import com.itheima.health.entity.QueryPageBean;
import com.itheima.health.pojo.User;

import java.util.List;

public interface UsertextService {
    //查询用户
    PageResult pageQuery(QueryPageBean queryPageBean);

    void deleteById(Integer id);


    void add(User user, Integer[] id);

    void edit(User user, Integer[] id);


    User findById(Integer id);

    List<Integer> findroleIdsByUserId(Integer id);
}
